package com.dabaozhan.modules.wx_app.facade;

import java.util.List;

import com.dabaozhan.modules.wx_app.base.PageResult;
import com.dabaozhan.modules.wx_app.entity.SupplierSweepEntity;
import com.dabaozhan.modules.wx_app.entity.SupplierUserEntity;
import com.dabaozhan.modules.wx_app.entity.SupplierUserQueryEntitiy;

public interface SupplierUserFacade {
	/**
	 * @param entity
	 * 添加供应商用户
	 */
	public int addSupplierUser(SupplierUserEntity entity);
	/**
	 * 
	 * 查询供应商用户列表信息
	 */
	public PageResult<List<SupplierUserEntity>> getSupplierUserForPage(SupplierUserQueryEntitiy entity);
	
	/**
	 * 删除供应商用户
	 * @return
	 */
	public int deleteSupplierUser(String userId,String packerId);
	
	/**
	 * 更新供应商用户
	 * @return
	 */
	public int updateSupplierUser(SupplierUserEntity entity);
	
	/**
	 * 扫码添加供应商
	 * @return
	 */
	public SupplierUserEntity sweepSupplier(SupplierSweepEntity entity);

}
